package com.jingan.nursinghome.regulatory.view;

import android.content.Context;
import android.support.annotation.Nullable;
import android.util.AttributeSet;

import cn.android.support.v7.lib.sin.crown.utils.AssetsUtils;
import cn.android.support.v7.lib.sin.crown.utils.ProportionUtils;
import cn.android.support.v7.lib.sin.crown.view.ActionBar;

/**
 * Created by 彭治铭 on 2017/9/29.
 */

public class MyActionBar extends ActionBar {
    public MyActionBar(Context context) {
        super(context);
        init();
    }

    public MyActionBar(Context context, @Nullable AttributeSet attrs) {
        super(context, attrs);
        init();
    }

    private void init() {
        left = AssetsUtils.getInstance().getBitmapFromAssets( "按钮/back.png", 0, true);
        left= ProportionUtils.getInstance().adapterBitmap(left);
    }
}
